﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Sps.Abrs.Model;

namespace Abrs.Services.Rest
{
    // 注意: 使用“重构”菜单上的“重命名”命令，可以同时更改代码、svc 和配置文件中的类名“LayerInfoService”。
    public class LayerService : ILayerService
    {
        readonly Sps.Abrs.BLL.Layerinfo _layerinfoBll = new Sps.Abrs.BLL.Layerinfo();
        private readonly Sps.Abrs.BLL.LayerField _layerFieldBll = new Sps.Abrs.BLL.LayerField();
        public List<Layerinfo> GetLayerInfos()
        {
            return _layerinfoBll.GetModelList("");
        }



        public List<LayerField> GetLayerFieldsInfos()
        {
            return _layerFieldBll.GetModelList("");
        }
    }
}
